<?php
$app->group('/weekly', function () use ($app) {
    $app->get('/', function () use ($app) {
        $app->render('weekly/index.html', array('models' => array()));
    })->name('weekly-home');

    $app->get('/add', function () use ($app) {
        $app->render('weekly/add.html', array());
    })->name('weekly-add');
    $app->post('/add', function () use ($app) {
    });

    $app->get('/edit', function () use ($app) {
        $app->render('weekly/add.html', array());
    })->name('weekly-edit');
    $app->post('/edit', function () use ($app) {
    });

    $app->get('/view', function () use ($app) {
        $app->render('weekly/view.html', array());
    })->name('weekly-view');
});
